WithPerms
@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.CLASS] )
Applies permission restrictions to a config setting.
Defines the Operator Permission Level needed to make modifications to a config entry. By default, all entries need Op Level 2, hence this default starts at 3.
Order of precedence:
ClientModifiable (Annotating config class itself)
ClientModifiable (specific setting annotation)
WithCustomPerms (specific setting annotation)
WithPerms (specific setting annotation)
WithCustomPerms (Annotating config class itself)
WithPerms (Annotating config class itself)
Author
fzzyhmstrs
Since
0.2.0
Parameters
opLevel
the Operator Level required for modification. 1 = moderator, 2 = gamemaster, 3 = admin, 4 = owner